<template>
	<view class="contact">
		<image class="img" src="../../static/lxwm.png"></image>
		<view class="info">
			<view @click="iphone">联系电话：18875231163 (点击拨打)</view>
			<view>联系地址：成都市武侯区/重庆市大渡口区</view>
		</view>
		<map class="map" :longitude='longitude' :latitude='latitude'></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:106.504962,
				latitude:29.533155
			}
		},
		methods: {
			iphone(){
				uni.makePhoneCall({
					phoneNumber: '18875231163'
				})
			}
		}
	}
</script>

<style lang="scss">
.contact{
	.img{
		width: 750rpx;
		height: 380rpx;
	}
	.info{
		padding: 10rpx 20rpx;
		font-size: 30rpx;
		view{
			border-bottom: 1px solid #eee;
			margin: 30rpx 0;
		}
	}
	.map{
		width: 750rpx;
		height: 750rpx;
		margin-top: 50rpx;
	}
}
</style>
